package com.gxsyh.nantie.excel.management.provider.service.impl;

import com.gxsyh.nantie.excel.management.provider.domain.UserAndDepartment;
import com.gxsyh.nantie.excel.management.provider.mapper.UserAndDepartmentMapper;
import com.gxsyh.nantie.excel.management.provider.service.UserAndDapartmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author hua96
 * @Date 2020-02-19
 * @Time 11:05
 * @Version 1.0.0
 */
@Service
public class UserAndDapartmentServiceImpl implements UserAndDapartmentService {

    @Resource
    UserAndDepartmentMapper userAndDepartmentMapper;

    @Override
    public List getUserInfoList() {
        return userAndDepartmentMapper.getUserInfoList();
    }

    @Override
    public UserAndDepartment getUserInfo(String id) {
        return userAndDepartmentMapper.getUserInfo(id);
    }
}
